#include <iostream>
#include "employee.h"

using namespace std;


	Employee::Employee(){}
	Employee::Employee(const int _id,const string _name,const bool _sex,const int _age)
	{
		id = _id;
		name = _name;
		sex = _sex;
		age = _age; 
	}
	Employee::Employee(const Employee& that)
	{
		id = that.id;
		name = that.name;
		sex = that.sex;
		age = that.age;
	}
	Employee& Employee::operator = (const Employee& that)
	{
		if(this != &that)
		{
			Employee temp(that);
			id = that.id;
			name = that.name;
			sex = that.sex;
			age = that.age;
		}
		return *this;
	}
	int Employee::get_employee_id()
	{
		return id;
	}
	string Employee::get_employee_name()
	{
		return name;
	}
	bool Employee::get_employee_sex()
	{
		return sex;
	}
	int Employee::get_employee_age()
	{
		return age;
	}
	void Employee::change_name(string str)
	{
		name = str;
	}
	void Employee::change_id(int num)
	{
		id = num;
	}
	void Employee::change_sex(bool s)
	{
		sex = s;
	}
	void Employee::change_age(int a)
	{
		age = a;
	}
	Employee::~Employee(){}
